SftTree/OCX 7.0

SftTree.DragImage Property

Softel vdm, Inc.

Defines whether a semi-transparent image is used to represent the data being dragged.

Syntax       

Get

VB.NET

Boolean = object.DragImage  As Boolean

VB

Boolean = object.DragImage  As Boolean

C#.NET

bool Boolean = object.DragImage;

VC++

VARIANT_BOOL Boolean = object->DragImage;
VARIANT_BOOL Boolean = object->GetDragImage();

C

HRESULT object->get_DragImage(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.DragImage   : WordBool;

Put

VB.NET

object.DragImage = Boolean  As Boolean

VB

object.DragImage = Boolean  As Boolean

C#.NET

bool object.DragImage = Boolean;

VC++

VARIANT_BOOL object->DragImage = Boolean;
void object->PutDragImage(VARIANT_BOOL Boolean);

C

HRESULT object->put_DragImage(VARIANT_BOOL Boolean);

Delphi

object.DragImage := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines whether a semi-transparent image is used to represent the data being dragged.

Boolean

Description

True

A semi-transparent image is used to represent the data being dragged.

False

A simple cursor is used to represent the data being dragged.

Comments

The DragImage property defines whether a semi-transparent image is used to represent the data being dragged.

The DragImage property applies to OLE drag & drop operations only.  The semi-transparent image is only supported by more recent operating systems (Windows XP and better).  In addition, not all applications used as targets of a drag & drop operation will render the semi-transparent image in their client area.

The DragImage property only affects OLE drag & drop operation initiated from the defining control.  When the same control is used as a drop target, a semi-transparent image is always used if the drag source provides such an image.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com